package A010map;

import java.util.concurrent.ConcurrentHashMap;

public class E002_ConcurrentHashMap例子 {

    public static void main(String[] args) {
        ConcurrentHashMap<String, String> map = new ConcurrentHashMap<>();
        map.put("a", "a");
        map.put("b", "b");
        map.put("c", "c");


        System.out.println(map.get("a"));

        System.out.println(map.size());
    }
}
